package com.ta.gulimall.member.feign;

import com.ta.gulimall.common.utils.system.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(name = "gulimall-coupon")
public interface CouponFeignService {

    @RequestMapping("/coupon/couponhistory/list")
    R list(@RequestParam Map<String, Object> params);
}
